package com.imau.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("tb_emp")
@Data
public class Emp {

    @TableId
    private Integer eid;

    private String empName;

    private Integer age;

    private String sex;

    private String email;

    private Integer did;

    //关联部门
    @TableField(exist = false)
    private Dept dept;
}
